export type ModalKey = InjectionKey<ModalRegister>;
export type ModalRegister = (methods: ModalMethods) => void;

export interface ModalMethods {
  openModal: () => void;
  closeModal: () => void;
  startLoading: () => void;
  stopLoading: () => void;
}
